-- GENERATED SPELL FOR [Marsh Walker] --


function spell0_18135(pUnit, Event) --@Lightning Tether,n/a--
pUnit:FullCastSpellOnTarget(33628,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18135', 5000, 1)
end

function Sorts_18135(pUnit, Event)
local choix_sorts_18135 = math.random(0, 0)
if choix_sorts_18135 == 0 then
pUnit:RegisterEvent('spell0_18135', 1, 1)
end
end

function mob18135_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18135', math.random(1500, 3000), 1)
end

function mob18135_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18135_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18135_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18135, 1, 'mob18135_Action')
RegisterUnitEvent(18135, 2, 'mob18135_Leave')
RegisterUnitEvent(18135, 3, 'mob18135_Kill')
RegisterUnitEvent(18135, 4, 'mob18135_Die')
